package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.demo.domain.SysPayChannel;
import com.example.demo.domain.SysPayChannelExample;
import com.example.demo.mapper.SysPayChannelMapper;
import com.example.demo.service.SysPayChannelService;
@Service
public class SysPayChannelServiceImpl implements SysPayChannelService{

    @Resource
    private SysPayChannelMapper sysPayChannelMapper;

    @Override
    public long countByExample(SysPayChannelExample example) {
        return sysPayChannelMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysPayChannelExample example) {
        return sysPayChannelMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long channelId) {
        return sysPayChannelMapper.deleteByPrimaryKey(channelId);
    }

    @Override
    public int insert(SysPayChannel record) {
        return sysPayChannelMapper.insert(record);
    }

    @Override
    public int insertSelective(SysPayChannel record) {
        return sysPayChannelMapper.insertSelective(record);
    }

    @Override
    public List<SysPayChannel> selectByExample(SysPayChannelExample example) {
        return sysPayChannelMapper.selectByExample(example);
    }

    @Override
    public SysPayChannel selectByPrimaryKey(Long channelId) {
        return sysPayChannelMapper.selectByPrimaryKey(channelId);
    }

    @Override
    public int updateByExampleSelective(SysPayChannel record,SysPayChannelExample example) {
        return sysPayChannelMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysPayChannel record,SysPayChannelExample example) {
        return sysPayChannelMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysPayChannel record) {
        return sysPayChannelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysPayChannel record) {
        return sysPayChannelMapper.updateByPrimaryKey(record);
    }

}
